<template>
  <div id='yy'>
     <router-link to ="/index/good">干啥</router-link>
      <router-link to ="/index/eat">吃</router-link>
     <router-view></router-view> 
     <!-- 设置出口 -->
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>

.aa,.bb{
  color: aqua;
}
.yy{
  width: 1000px;
  height: 100px;
  text-align: center;
  background-color: rgb(100, 118, 118);

}
.yy a {
  padding: 20px 20px;
  line-height: 100px;
  background-color: yellowgreen;
  border: 1px solid black;
}

</style>